#ifndef PLAYER_H
#define PLAYER_H

#include "URGE/URGE.h"
#include "Life.h"
#include "Lantern.h"
#include "LABEL.h"
#include "Gun.h"
#include "Enemy.h"

USING_URGE;

class Player: public FirstPersonCamera
{
    public:
        Life* pLife;
        Lantern* pLanterna;
        Gun* pGun;

        int life;
        static int pontos;//score
        static const Array PLAYER_INITIAL_POSITION;
        static const double VELOCIDADE_PULO;

        Player(int vida);
        void init();
        int collide(Object&);
        void act();
        void jump();
    private:
        int espacamentoColisao;
        int intervaloPulo;
        void enemyCollide(Object&);
};

#endif // PLAYER_H
